package com.xinqi.modules.sys.role.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author linkai
 * @date 2022/6/10
 */
@Data
@Schema(description = "角色状态-更新")
public class RoleStatusUpdateDTO implements Serializable {
    @NotNull(message = "角色ID不能空")
    @Schema(description = "角色ID")
    private Long roleId;

    @NotNull(message = "状态不能空")
    @Schema(description = "状态，0-禁用，1-启用")
    private String status;
}
